﻿@model IEnumerable<Bai1.Models.Restaurant>

@{
    ViewBag.Title = "Home Page";
}

@using (Ajax.BeginForm("CallAjaxHelper", new { id = 1 }, new AjaxOptions
{
    UpdateTargetId = "divajax",
    InsertionMode = InsertionMode.Replace,
    
    
}))
{ 
    <input type="submit"  value="CallAjaxHelper"/>
    <div id="divajax"><span> </span></div>
}

<a href="javascript:void(0)" class="easyui-linkbutton" onclick="ShowWindow('@Url.Action("About","Home")')">Open</a>
<div id="dd" style="overflow: hidden;"></div>  
@*@foreach (var item in Model)
{
    <div>
        <h4> @item.Name</h4>
        <div>@item.City, @item.Country </div>
    </div>
}*@

Session: @Session["User"]
@{Html.RenderPartial("_LoginPartial");}
<table id="list"></table>
 <div id="pager"></div>
<script>
    CreateTable();
</script>